package my.edu.model.information.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("customer_receivable_balance_detail")
@Builder
public class CustomerReceivableBalanceDetail {

    // 主键id，自动递增
    @TableId(value = "id", type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Long id;

    // 客户id
    @TableField("customer_id")
    private Long customer_id;

    // 单据id
    @TableField("bill_id")
    private Long bill_id;

    // 单据类型
    @TableField("billsType")
    private String billsType;

    // 金额
    @TableField("receivable_balance")
    private BigDecimal receivable_balance;

    private String billNo;
}